#ifndef _DISPLAY_TASK_H__
#define _DISPLAY_TASK_H__
#include "button_drv.h"
#include "config.h"
#include "gn1640.h"
#include "modbus_user.h"

typedef enum
{
    INDEX_SET_N1,       // N是大数字
    INDEX_SET_N2,
    INDEX_SET_F1,       // F是小数字
    INDEX_SET_N3,
    INDEX_SET_N4,
    INDEX_SET_F2,       
    INDEX_SET_M1,       // M是-号
    INDEX_SET_M2,
}CurrentShowIndex_t;

typedef struct 
{
    CurrentShowIndex_t CurrIndex;
    SegCode_t CurrItemCode;
    SegCode_t *TarItemCode;
    bool_t Blink;
    bool_t IsSetting;
    int8_t *SourceArry;
    int8_t SourceLen;
}SettingMode_t;

void DisplayTaskInit(void);
void DisplayTask(void);


#endif // _DISPLAY_TASK_H__
